cmake_minimum_required(VERSION 3.5)
project(tf_laser)

if(NOT CMAKE_CXX_STANDARD)
  set(CMAKE_CXX_STANDARD 14)
endif()

find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(agv_srvs REQUIRED)
find_package(shared_parameters REQUIRED)
find_package(Boost REQUIRED COMPONENTS system)

add_executable(laser_transform_publisher src/laser_transform_publisher.cpp)
ament_target_dependencies(laser_transform_publisher
  rclcpp
  std_msgs
  tf2_ros
  agv_srvs
  shared_parameters
)

install(TARGETS laser_transform_publisher
  DESTINATION lib/${PROJECT_NAME}
)

install(DIRECTORY launch/
  DESTINATION share/${PROJECT_NAME}/launch
)

ament_package()